package com.itheima.fanxing;

import com.itheima.domain.Student;

public class Demo02 {

    public static void main(String[] args) {
        Box<String> box = new Box<>();
        box.setElement("蔡徐坤");
        System.out.println(box.getElement());


        Box<Student> box2 = new Box<>();
        box2.setElement(new Student("滔滔", 30));
        System.out.println(box2.getElement());
    }
}
